{{if $CurrentUser['id']}}
		<div class="ui-portlet">
			<ol class="breadcrumb">
			  <li><a href="/users/index"><i class="fa fa-home"></i>&nbsp;&nbsp;{{__('Personal Center')}}</a></li>
			  <li class="active">文章签名</li>
			</ol>
		</div>        
       <hr>
       <div class="mb10">
       	<a class="btn btn-primary" href="{{$this->Html->url(array('action'=>'add'))}}">新增文章签名</a>
       	
       </div>
       <div class="alert alert-warning">
		   <strong>使用帮助：</strong>
		   <p style="text-indent: 2em;">签名可设置每篇文章都相同的顶部引导关注，底部关注二维码与其余引流内容。</p>
		   <p style="text-indent: 2em;">新增或编辑签名后，需要刷新编辑页加载最新的签名才能使用。</p>
	   </div>
       <div class=" ui-portlet" id="signature-mine-list">
       
       	{{$page_navi}}
	       <div class="row">
	       {{loop $datalist $k $item}}
	       	<div class="col-md-5">
	       		<div class="appmsg article-msg clearfix" id="sign-{{$item['Signature']['id']}}"  data-id="{{$item['Signature']['id']}}">
	       			<div class="appmsg_content" style="padding:10px 15px;">
			       		<p class="title">
			       			{{$item['Signature']['name']}}
			       		</p>
			       		<p style="font-weight:normal;font-size: 12px;">{{$item['Signature']['created']}}</p>
			       	</div>
			       	<div class="appmsg_content" style="padding:10px 15px;">
			       		<div class="summary">
			       			{{$item['Signature']['prefix']}}
			       			<div style="color:#eee;text-align:center;"><hr/>……<br>中间正文内容<br/>……<hr/></div>
			       			{{$item['Signature']['suffix']}}
			       		</div>
		       		</div>
	       			<div class="appmsg_opr clearfix">
		       				{{$this->Html->link('<i data-toggle="tooltip" data-placement="top" title="'.__('Edit').'" class="fa fa-edit"></i>', array('controller'=>'signatures','action' => 'edit', $item['Signature']['id']),array('class'=>'col-xs-6 opr-edit','escape'=>false))}}
		       			
		       				<a role="button" href="javascript:void(0)" data-url="{{$this->Html->url('/signatures/delete/'.$item['Signature']['id'])}}" class="col-xs-6 delete-pop" data-content="确认永久删除此签名？"><i data-toggle="tooltip" data-container="body" data-placement="top" title="{{__('Delete')}}" class="fa fa-remove"></i></a>
		       		</div>

		       		
		       		
	       		</div>
	       	</div>
	       	
	       	{{if $k%2 == 1}} <div class="clearfix"></div> {{/if}}
	       	
	       	
	  		{{/loop}}
	    	</div>
    	{{$page_navi}}
    	
    	</div>
{{else}}
<div class="container">
 	<div class=" ui-portlet" id="signature-mine-list">	您还没有登录，请<a href="/users/login" onclick="return checkLogin();">登录</a>后查看。</div>
</div>
{{/if}}
    	
